package cn.tedu.management.community.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data

public class CommunityVO {
    @ApiModelProperty(value = "社区id")
    private Integer id;
    @ApiModelProperty(value = "社区名称")
    private String name;
    @ApiModelProperty(value = "社区昵称")
    private String nickname;
    @ApiModelProperty(value = "社区编号")
    private String code;
    @ApiModelProperty(value = "社区简介")
    private String remark;
    @ApiModelProperty(value = "社区类型")
    private String type;
    @ApiModelProperty(value = "人口规模")
    private Long scale;
    @ApiModelProperty(value = "社区面积")
    private Long area;
    @ApiModelProperty(value = "社区地址")
    private String address;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "消防人员id")
    private Long fireUserId;
    @ApiModelProperty(value = "安全负责人id")
    private Long safeUserId;
    @ApiModelProperty(value = "物业人员id")
    private Long propertyUserId;
}
